<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{{title}}</title>
</head>
<body>
hello ,{{user.name}}{{user.say}}{{book.0}}
<ul>
    {% for key in userItems %}
    <li>{{key}}---{{value}}</li>
    <li>没有书籍</li>
    {% endfor %}
    {% for key,value in userItems.items %}
    <li>{{key}} = {{ value }}</li>
    {% endfor %}

    <!--自定义过滤器-->
    {% load percent %}
    {{date | date:"Y-m-d" | percent }}


</ul>
</body>
</html>